﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using cwtrock.model;

namespace cwtrock.util
{
    class AppContextProvider
    {
        //单例，负责存放系统中一些整个运行时生命周期均可能使用的值，充当内存缓存使用
        private AppContextProvider() { }
        public static readonly AppContextProvider instance = new AppContextProvider();

        //登陆用户对象
        private SysUsr _usr;

        public SysUsr LogUser
        {
            set { this._usr = value; }
            get { return _usr; }
        }




    }
}
